import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import BarChart from "../views/BarChart.vue";
import LineChart from "../views/LineChart.vue";
// import PieChart from "../views/PieChart.vue";
// import ScatterChart from "../views/ScatterChart.vue";
// import MapChart from "../views/MapChart.vue";
// import ComboChart from "../views/ComboChart.vue";

const routes = [
  {
    path: "/",
    name: "home",
    component: HomeView,
  },
  {
    path: "/bar-chart",
    name: "BarChart",
    component: BarChart,
  },
  {
    path: "/line-chart",
    name: "LineChart",
    component: LineChart,
  },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
